package com.hdax.dm.mapstucts;

import com.hdax.dm.beans.item.Item;
import com.hdax.dm.beans.item.ItemType;
import com.hdax.dm.dto.IndexNavDto;
import com.hdax.dm.dto.recommendDto;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "Spring")
public abstract class recommendDtoMapper {

    public abstract recommendDto toTarget(Item source);

    public abstract List<recommendDto> toTargetList(List<Item> sources);
}
